Riverlea rollout - set as the default theme from 6.0 (but freeze on Greenwich for existing installs using Greenwich) - #31979
Riverlea rollout - set as the default theme from 6.0 (but freeze on Greenwich for existing installs using Greenwich)#31979ufundo wants to merge 5 commits into
Conversation
… on Greenwich for upgrading sites
|
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
|
+1 for auto-enabling on new installations +1 for locking-in the setting on upgraded sites for continuity. I suspect the test failures are more around swapping the interpretation of The patch sort of swaps the hard-dependency in |
|
Possible alternative: #31985 |
|
I had a higher level thought... In the hope of explaining, lets distinguish between:
Now, automatic purports to be "get the latest and greatest theme at the discretion of civicrm.org". But the first time in 5(?) years that latest amd greatest is changing, we arent actually exercising that discretion. So... maybe we just get rid of Automatic? The other PR would mean new installs have an explicit theme choice, we want to flick people who were on Automatic to explicit Greenwich anyway for safety. I dont think an explicit theme choice is likely to pick Automatic (except in the spirit of "I wonder what this does") So rather than adding more code to automatic I would suggest removing entirely. Migrate people currently on Automatic to Greenwich. Switch the setting level default to minetta. One less option in the UI, one less layer of default (over the settings default), one less line in the settings meta that says There's already the fallback handling which seems to work ok if your theme setting doesnt correspond to an theme that exists. (Your proposed change looks to me like it belongs more in fallback than default) |
100% that makes more sense. I like the idea of basically removing it because then we don't actually need any required theme extensions. If people want to remove Greenwich and Riverlea, that's kinda reasonable from a system perspective. |
|
Closing in favour of #31986 |
|
(Just keeping discussion on this PR so its mainly in one place)
I'd misunderstood how this was working. But I looked at a bit more and I think ufundo#9 clears it up and might be the simplest neatest way to handle "you've picked a theme which doesn't exist". |
Overview
This effects the switch from Greenwich to Riverlea as the default theme from 6.0.
Before
After